package com.lu.pojo.oop.classes;

public class Teacher {
    private String name;
    private String professional;
    private String course;
    private int age;

    @Override
    public String toString() {
        return "Teacher{" +
                "name='" + name + '\'' +
                ", professional='" + professional + '\'' +
                ", course='" + course + '\'' +
                ", age=" + age +
                '}';
    }

    public Teacher() {
    }

    public Teacher(String name, String professional, String course, int age) {
        this.name = name;
        this.professional = professional;
        this.course = course;
        this.age = age;
    }


    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getProfessional() {
        return professional;
    }

    public void setProfessional(String professional) {
        this.professional = professional;
    }

    public String getCourse() {
        return course;
    }

    public void setCourse(String course) {
        this.course = course;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }
}
